// 轮播图
.swiper {
  width: 100%;
  height: 8rem;
}
.swiper-my-pagination {
  display: inline-block;
  width: 1.62rem;
  height: 2px;
  background: #D9D9D9;
  margin-right: 0.12rem;
}
.swiper-my-pagination-active {
  background: #DB0032;
  opacity: 1;
}
.swiper-pagination {
  box-sizing: border-box;
  text-align: right !important;
  padding-right: 0.4rem; 
}
/*去掉默认样式*/
.swiper-button-prev:after{
    display: none;
}
.swiper-button-next:after{
    display: none;
}
.swiper-slide {
  position: relative;
  .tip {
    width: 4.2rem;
    height: 1.2rem;
    position: absolute;
    left: calc(50% - 2.1rem);
    top: calc(50% - 0.6rem);
    text-align: center;
    .title {
      font-size: .48rem;
      color: #FFFFFF;
    }
    .video-play {
      cursor: pointer;
      font-size: .20rem;
      color: #fff;
      display: inline-block;
      vertical-align: middle;
      opacity: .8;
      span {
        display: inline-block;
        vertical-align: middle;
      }
      &:hover {
        opacity: 1;
      }
    }
    img {
      display: inline-block;
      vertical-align: middle;
    }
  }
  .swiper-banner {
    width: 100%;
    height: 100%;
  }
}

/*自定义样式*/
.swiper-button-prev{
    width: .40rem !important;
    height: .40rem !important;
    left: .40rem !important;
    background: rgba(229,229,229, 0.5) url('../images/slide-left.png') no-repeat center center;
    background-size: 0.2rem 0.2rem;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    &:hover {
      background: rgba(204,204,204, 0.5) url('../images/slide-left.png') no-repeat center center;
    }
}
.swiper-button-next{
    width: .40rem !important;
    height: .40rem !important;
    right: .40rem !important;
    background: rgba(229,229,229, 0.5) url('../images/slide-right.png') no-repeat center center;
    background-size: 0.2rem 0.2rem;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    &:hover {
      background: rgba(204,204,204, 0.5) url('../images/slide-right.png') no-repeat center center;
    }
}

// 首页可漾产品
.product-box {
  box-sizing: border-box;
  background: #FAFAFA;
  height: 7.80rem;
  padding: 0.8rem 0 0.8rem 1.35rem;
  display: flex;
  justify-content: space-between;
  .title-box {
    width: 3.7rem;
    h1 {
      font-size: 0.4rem;
      font-weight: 500;
      line-height: 0.48rem;
    }
    .desc {
      font-size: 0.14rem;
      line-height: 0.22rem;
      padding-top: 0.08rem;
    }
    h2 {
      font-size: 0.24rem;
      font-weight: 400;
    }
  }
  .desc-img-box {
    width: 9rem;
    height: 6.2rem;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .title-list-box {
    padding-top: 0.7rem;
    .li {
      margin-top: 0.4rem;
      cursor: pointer;
    }
    .active {
      color: #DB0032;
    }
  }
}

// 首页企业动态
.company-dynamic {
  box-sizing: border-box;
  padding: 0.8rem 1.35rem;
  .dynamic-img-box {
    position: relative;
    // width: 5.7rem;
    width: 48%;
    height: 4rem;
    img {
      width: 100%;
      height: 100%;
    }
    .content-title {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 0.4rem;
      line-height: 0.4rem;
      color: #fff;
      font-size: 0.16rem;
      font-weight: 500;
      text-align: center;
      background: rgba(0,0,0,.2);
    }
  }
  .dynamic-list-box {
    margin-left: 0.3rem;
    // width: 5.7rem;
    width: 48%;
    .title-box {
      h1, p {
        width: 40%;
      }
      p {
        text-align: right;
        line-height: 0.48rem;
        a {
          color: #333;
          &:hover {
            color: #DB0032;
          }
        }
      }
    }
    h1 {
      font-size: 0.4rem;
      font-weight: 500;
      line-height: .48rem;
    }
    .desc {
      font-size: .14rem;
      font-weight: 400;
      line-height: .22rem;
      padding-top: 0.08rem;
    }
    .dynamic-list {
      padding-top: 0.2rem;
      .li {
        position: relative;
        height: 1rem;
        border-bottom: 1px solid #F0F0F0;
        &:hover {
          color: #DB0032;
        }
      }
      .time {
        font-weight: 400;
        font-size: .14rem;
      }
      h2 {
        font-weight: 400;
        font-size: .18rem;
        padding-bottom: .16rem;
      }
      .more {
        position: absolute;
        bottom: 0.2rem;
        right: 0.24rem;
        font-size: 0.14rem;
      }
    }
  }
}

.video-preview-box {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 100;
  .mask {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,1);
    z-index: 101;
    .close {
      cursor: pointer;
      width: 0.6rem;
      height: 0.6rem;
      position: absolute;
      top: 0.3rem;
      right: 0.3rem;
      z-index: 103;
      background: url('../images/close.png') no-repeat center;
      background-size: 100% 100%;
      &:hover {
        background-size: 120% 120%;
      }
      span {
        font-family: VideoJS;
      }
    }
  }
  #my-video {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 102;
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform: translate3d(-50%, -50%, 0);
    -moz-transform: translate3d(-50%, -50%, 0);
    -ms-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
  }
  
}
.go-detail-more {
  a {
    font-size: 0.14rem;
  }
}